package 统计算法.猜数字;

public class csz {
    public int game(int[] guess, int[] answer) {
        int count = 0;
        for(int i = 0; i < 3; ++i){
            if(guess[i] == answer[i]){
                ++count;
            }
        }
        return count;
    }
}
